package star.cloud.asme.base.fowable.VO;

import lombok.*;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class ProcessInstanceVO extends ProcessDefinitionVO {
    private String processInstanceId;
    private String processInstanceName;
    private String processInstanceBusinessKey;
    private Date processInstanceStartTime;
    private Date processInstanceEndTime;
    private Long processInstanceDuration;
    private String processInstanceStartUserId;
    private String processInstanceStartUserIdName;
    private String processInstanceStartActivityId;
    private String processInstanceEndActivityId;
    private String processInstanceDescription;
    private String processInstanceDeleteReason;
    private String processInstanceStatus;
    //runtime
    private Boolean processInstanceIsSuspended;
    private Boolean processInstanceIsEnded;
    private List<TaskInstanceVO> taskInstanceVOList = new ArrayList<>();
}
